package com.demo.validator.user;

import com.demo.constant.ErrorInfo;
import com.demo.validator.BaseValidator;
import com.jfinal.core.Controller;

public class GetOrDel extends BaseValidator {

	@Override
	protected void validate(Controller c) {
		super.validate(c);
		validateInteger("id", ErrorInfo.ERR_USER_ID_NOT_EMPTY,
				ErrorInfo.getErrMsg(ErrorInfo.ERR_USER_ID_NOT_EMPTY));
	}
}
